const path = require('path')
module.exports = {
    devServer: {
        port: 80,
        host: '127.0.0.1',
        open: true, // 配置自动启动浏览器
        /* proxy: {
            '/okweb': {
                target: 'http://webshort.mostonetech.com/okweb',
                changeOrigin: true,
                autoRewrite: true,
                cookieDomainRewrite: true,
                pathRewrite: {
                    '^/okweb': ''
                }
            }
        } */
    },

    configureWebpack: {
        resolve: {
            extensions: ['*', '.js', '.vue', '.json', '.less', '.mjs'],
            alias: {
                '@': path.resolve(__dirname, './src')
            }
        }
    },

    assetsDir: 'assets',
    productionSourceMap: false,

    publicPath: '',
    outputDir: undefined,
    runtimeCompiler: undefined,
    parallel: undefined
}
